package com.toocms.jinjuhang.ui.commodity.succour

import com.toocms.jinjuhang.R
import com.toocms.jinjuhang.BR
import com.toocms.jinjuhang.databinding.FgtSuccourDetailsBinding
import com.toocms.jinjuhang.ui.base.BaseFgt
import com.toocms.tab.TooCMSApplication

class SuccourDetailsFgt : BaseFgt<FgtSuccourDetailsBinding, SuccourDetailsModel>() {
    override fun onFragmentCreated() {

    }

    override fun getLayoutResId() = R.layout.fgt_succour_details

    override fun getVariableId() = BR.succourDetailsModel

    override fun viewObserver() {
        viewModel.titleSingleLiveEvent.observe(this){
            topBar.setTitle(it)
        }
    }

    override fun getViewModel()=SuccourDetailsModel(TooCMSApplication.getInstance(),arguments)

}